#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <windows.h>
#include <string.h>

typedef struct item
{
	char item_name[20];
	int item_score;
}item;

typedef struct school
{
	int school_id;
	item* item_wk;
	int total_score;
}school;

void Init(school** sport, int n, int w, int k);
void sort_itemscore(school** psport, int n, int w, int k);